package com.grandtech.insurance.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class YwRspdrecords implements Serializable {

    /**
     * 区划代码
     */
    private String qhdm;

    /**
     * 年份
     */
    private String nf;

    /**
     * 作物代码
     */
    private String zwdm;

    /**
     * 遥感产品类型，1-种植监测，2-长势监测，3-灾害监测
     */
    private String rspdlx;
    // 遥感产品类型名称
    private String rspdlxmc;

    /**
     * 遥感产品id
     */
    private String rspdid;

    /**
     * 区划名称
     */
    private String qhmc;

    /**
     * 作物名称
     */
    private String zwmc;

    /**
     * 监测时间
     */
    private Date jcsj;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    /**
     * 遥感产品描述
     */
    private String rspdtheme;

    /**
     * 失效日期
     */
    private Date expirydate;

    /**
     * 瓦片地址
     */
    private String tileurl;

    /**
     * 图例
     */
    private String legend;

    public String getQhdm() {
        return qhdm;
    }

    public void setQhdm(String qhdm) {
        this.qhdm = qhdm;
    }

    public String getNf() {
        return nf;
    }

    public void setNf(String nf) {
        this.nf = nf;
    }

    public String getZwdm() {
        return zwdm;
    }

    public void setZwdm(String zwdm) {
        this.zwdm = zwdm;
    }

    public String getRspdlx() {
        return rspdlx;
    }

    public void setRspdlx(String rspdlx) {
        this.rspdlx = rspdlx;
    }

    public String getRspdlxmc() {
        return rspdlxmc;
    }

    public void setRspdlxmc(String rspdlxmc) {
        this.rspdlxmc = rspdlxmc;
    }

    public String getRspdid() {
        return rspdid;
    }

    public void setRspdid(String rspdid) {
        this.rspdid = rspdid;
    }

    public String getQhmc() {
        return qhmc;
    }

    public void setQhmc(String qhmc) {
        this.qhmc = qhmc;
    }

    public String getZwmc() {
        return zwmc;
    }

    public void setZwmc(String zwmc) {
        this.zwmc = zwmc;
    }

    public Date getJcsj() {
        return jcsj;
    }

    public void setJcsj(Date jcsj) {
        this.jcsj = jcsj;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getRspdtheme() {
        return rspdtheme;
    }

    public void setRspdtheme(String rspdtheme) {
        this.rspdtheme = rspdtheme;
    }

    public Date getExpirydate() {
        return expirydate;
    }

    public void setExpirydate(Date expirydate) {
        this.expirydate = expirydate;
    }

    public String getTileurl() {
        return tileurl;
    }

    public void setTileurl(String tileurl) {
        this.tileurl = tileurl;
    }

    public String getLegend() {
        return legend;
    }

    public void setLegend(String legend) {
        this.legend = legend;
    }
}
